package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.dto.EnvironmentAddReq;
import com.yimils.core.goods.dto.EnvironmentUpdateReq;
import com.yimils.core.goods.entity.EnvironmentEntity;
import com.yimils.core.goods.vo.EnvironmentRes;

import java.util.List;

public interface EnvironmentService extends IService<EnvironmentEntity> {

    Boolean saveEnvironment(EnvironmentAddReq environmentAddReq);

    Boolean updateEnvironment(EnvironmentUpdateReq environmentUpdateReq);

    Boolean deleteEnvironment(List<Long> environmentIds);

    List<EnvironmentRes> listEnvironment();

    List<EnvironmentEntity> listEnvironment(List<Long> environmentIds);
}
